Refactor app for fitness focus, add ExerciseDemo, and enhance README#8
Open
AaryakCreator wants to merge 15 commits intoRunanywhereAI:mainfrom
Open
Refactor app for fitness focus, add ExerciseDemo, and enhance README#8AaryakCreator wants to merge 15 commits intoRunanywhereAI:mainfrom
AaryakCreator wants to merge 15 commits intoRunanywhereAI:mainfrom
Conversation
Rename project to "kine-sight" and streamline the app to focus on the fitness experience. App.tsx was simplified to remove multi-tab SDK initialization and only render the Fitness tab (badge updated). Multiple UI/features related to LLM/tools/vision/voice were removed (ChatTab, VisionTab, VoiceTab, ToolsTab, ModelBanner and related hooks/workers) and runanywhere-related dependencies were removed from package.json. Significant improvements to FitnessTab: add a pre-workout countdown, debounce consecutive-frame position detection, support hold-style exercises (plank) with hold and best-time tracking, refine rep counting to use debounced positions, various UI tweaks (labels, countdown overlay), and add NormalizedLandmark typing. Refs and state resets were added to make detection and session lifecycle more robust. Also added MediaPipe type declarations (src/types/mediapipe.d.ts) and new error snapshots (errors.txt, errors2.txt, errors3.txt) capturing current TypeScript issues to address.
Add a new ExerciseDemo React component with styles (src/components/ExerciseDemo.tsx, src/styles/exercise-demo.css) and minor style tweaks in src/styles/index.css. Add public/icon.svg and update index.html to use the new favicon, include apple-touch-icon and mobile/PWA meta tags (apple status bar style and description). Add vite-plugin-pwa to package.json and wire up PWA support in vite.config.ts. Also include a small change in FitnessTab.tsx.
Added installation instructions and usage details to README.
Added a video link to the README for demonstration.
Added a YouTube demo link to the README.
Introduce on-device LLM support and related services, add new exercise components and demo assets, and clean up build logs. Key additions: src/llm (llm-worker.ts, llmEngine.ts), src/tts/ttsService.ts, src/storage/storageService.ts, new exercises (bicep-curl, push-up), DemoVideo and ReportsTab components, sounds, styles for exercise demos, multi_agent.py, and DOCUMENTATION.md. Updated app UI and detection flow in src/App.tsx and src/components/FitnessTab.tsx; updated pose logic in src/fitness/poseEngine.ts; small CSS/theme tweaks in index.html and exercise styles. Removed stale build/error log files and minor dependency updates in package.json (added on-device LLM client and UI libs).
Introduce a skeleton visibility toggle and lightweight motivator flow, plus prompt tweaks for the LLM. Adds MOTIVATIONAL_MESSAGES and showSkeleton state/ref; drawing now skips skeleton/angle badge when hidden. Adds a UI button to show/hide the skeleton and moves the AI coach panel into a right-side responsive panel while reorganizing the metrics/control layout for md screens. Change feedback logic to only call the LLM on mistakes or milestone perfect reps (every 10); otherwise display a random motivational message (no TTS). Update LLM system prompt and generated prompt template to include form mistakes and rep number and to require a single short sentence response.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.